﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.LocationDomain
{
   public class Location
    {

        #region Properties
        public Guid ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        [ForeignKey("Group")]
        public int LocationGroupID { get; set; }
        [ForeignKey("Picture")]
        public Guid LocationPictureID { get; set; } 
        #endregion

        #region NavigationalProperties
        public virtual LocationGroup Group { get; set; }
        public virtual LocationPicture Picture { get; set; }
        #endregion

    }
}
